<?php die;?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>miceCMS,觅策企业网站管理系统</title>
<link href="css/default.css" rel="stylesheet" type="text/css">
<link href="css/fieldset.css" rel="stylesheet" type="text/css">
<script type='text/javascript' src='js/error.js'></script>
<script type='text/javascript' src='js/calendar.js'></script>
<script language="JavaScript">
function CheckForm()
{
 if (document.form1.title.value.length == 0)
 {
  alert("标题不能为空！");
  document.form1.title.focus();
  return false;
 } 
  return true;
}
</script>
</head>

<body>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" >
	<form id="form1" name="form1" action="<!--{$formaction}-->" method="post" onsubmit="return CheckForm()">
	<tr>
		<td width="100%" valign="top">
			<fieldset class="adminform">
				<legend>投票选项</legend>
				<table border="0" cellpadding="0" cellspacing="0" width="100%">
					<tr>
						<td width="100" class="keyred" height='20'>标　题:</td>
						<td colspan="2">
							<input name='poll_id' id='poll_id' type='hidden' value='<!--{$results->getPollId()}-->'>
							&nbsp;<input name='title' id='title' type='text' size='50' value='<!--{$results->getTitle()}-->'>
						</td>
					</tr>
					<tr>
						<td width="100" class="key" height='20'>序　号:</td>
						<td colspan="2">
							&nbsp;<input name='orderid' id='orderid' type='text' size='15' value='<!--{$results->getOrderid()}-->'>&nbsp;(按数字从小到大排列)
						</td>
					</tr>
					<tr>
						<td width="100" class="key" height='20'>默认选中:</td>
						<td colspan="2">
							&nbsp;<input name='isdefault' id='isdefault' type="radio" value="0" <!--{if $results->getIsdefault()==0}-->checked<!--{/if}-->/>是
							&nbsp;<input name='isdefault' id='isdefault' type="radio" value="1" <!--{if $results->getIsdefault()==1}-->checked<!--{/if}-->/>否
						</td>
					</tr>
					<tr>
						<td width="100" class="key" height='20'>票　数:</td>
						<td colspan="2">
							&nbsp;<input name='num' id='num' type='text' value='<!--{$results->getNum()}-->'>
						</td>
					</tr>
				</table>
			</fieldset>
		</td>
	</tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D5D5D5">
	<tr > 
		<td bgcolor="#F9F9F9" height="30" valign='middle'>
			&nbsp;&nbsp;<label><input type="checkbox" name="goon" id="goon" value="1">保存后继续添加</label>&nbsp;&nbsp;<input type="submit" value="保存[S]" accesskey="s"/>&nbsp;<input type="reset" value="重置[R]" accesskey="r"/>&nbsp;<input type="button" onclick="javascript:history.back(-1)" value="返回[B]" accesskey="b"/>
		</td>
	</tr>
	</form>
</table>
<br>
</body>
</html>